package com.seari.mapper;

import com.seari.bean.Product;
import com.seari.bean.RlProductHost;

import java.util.List;
import java.util.Map;


public interface ProductMapper {
        List<Product> getProductByFMcId(Product product);
        List<Product> getProductById(Product product);
        int addProductBatch(List<Product> productList);
        int updateProductById(Product product);
        int deleteProductById(Product product);

        int addRlProductHost(RlProductHost rlProductHost);
        int deleteRlProductHost(RlProductHost rlProductHost);
        int updateRlProductHost(RlProductHost rlProductHost);
        List<RlProductHost> getRlProductHost(RlProductHost rlProductHost);
        List<Map<String,String>> showAllZabbixHosts(Map<String, String> map);
}
